index.tsx 750 B

12345678910111213141516171819
  1. import { PlatformWebhooksPage } from '@/components/interfaces/Platform/Webhooks'
  2. import { DefaultLayout } from '@/components/layouts/DefaultLayout'
  3. import OrganizationLayout from '@/components/layouts/OrganizationLayout'
  4. import { OrganizationSettingsLayout } from '@/components/layouts/ProjectLayout/OrganizationSettingsLayout'
  5. import type { NextPageWithLayout } from '@/types'
  6. const OrgWebhooksSettings: NextPageWithLayout = () => {
  7. return <PlatformWebhooksPage scope="organization" />
  8. }
  9. OrgWebhooksSettings.getLayout = (page) => (
  10. <DefaultLayout>
  11. <OrganizationLayout title="Webhooks">
  12. <OrganizationSettingsLayout>{page}</OrganizationSettingsLayout>
  13. </OrganizationLayout>
  14. </DefaultLayout>
  15. )
  16. export default OrgWebhooksSettings